function changeQR(id)
{	
	document.getElementById('span_weixin').setAttribute('class','none');
	document.getElementById('span_weibo').setAttribute('class','none');
	document.getElementById('span_app').setAttribute('class','none');
	document.getElementById('span_'+id).setAttribute('class','triangle');
	document.getElementById('qrc').setAttribute('src','images/'+id+'.jpg');
}

	var shanghai = new Array();
	shanghai[0]='上海站';
	shanghai[1]='sh.jpg';
	shanghai[2]='上海、无锡、南通、常州、杭州';
	shanghai[3]='400-8181-777';
	shanghai[4]='上海市青浦区华丹路635号';
	
	var guangzhou = new Array();
	guangzhou[0]='广州站';
	guangzhou[1]='gz.jpg';
	guangzhou[2]='广州、佛山、江门';
	guangzhou[3]='0757-81800137  0757-81800935';
	guangzhou[4]='广东省佛山市罗村街道南海国际冷库';
	
	var beijing = new Array();
	beijing[0]='北京站';
	beijing[1]='bj.jpg';
	beijing[2]='北京';
	beijing[3]='010-59469698';
	beijing[4]='北京市丰台区马家堡西路名流未来大厦407';
	
	var shenzhen = new Array();
	shenzhen[0]='深圳站';
	shenzhen[1]='sz.jpg';
	shenzhen[2]='深圳、东莞';
	shenzhen[3]='400-8181-777';
	shenzhen[4]='深圳市南山区沙河西路3013号';

	var wuhan = new Array();
	wuhan[0]='武汉站';
	wuhan[1]=' ';
	wuhan[2]='武汉';
	wuhan[3]='400-8181-777';
	wuhan[4]=' ';

	var suzhou = new Array();
	suzhou[0]='苏州站';
	suzhou[1]=' ';
	suzhou[2]='苏州';
	suzhou[3]='400-8181-777';
	suzhou[4]=' ';

	var hefei = new Array();
	hefei[0]='合肥站';
	hefei[1]=' ';
	hefei[2]='合肥';
	hefei[3]='400-8181-777';
	hefei[4]=' ';
	
	var shanghaien = new Array();
	shanghaien[0]='ShangHai';
	shanghaien[1]='sh.jpg';
	shanghaien[2]='Shanghai';
	shanghaien[3]='400-8181-777';
	shanghaien[4]='No.1688 Xinxie Road, Qingpu District, Shanghai';
	
	var guangzhouen = new Array();
	guangzhouen[0]='GuangZhou';
	guangzhouen[1]='gz.jpg';
	guangzhouen[2]='Guangzhou, Foshan & Jiangmen';
	guangzhouen[3]='0757-81800137 / 0757-81800935';
	guangzhouen[4]='International Cold Storage,Luocun Street, Nanhai District,Foshan City';
	
	var beijingen = new Array();
	beijingen[0]='BeiJing';
	beijingen[1]='bj.jpg';
	beijingen[2]='Beijing';
	beijingen[3]='010-59469698';
	beijingen[4]='Rm. 407, Mingliu Weilai Building,Fengtai District,Beijing';
	
	var shenzhenen = new Array();
	shenzhenen[0]='ShenZhen';
	shenzhenen[1]='sz.jpg';
	shenzhenen[2]='Shenzhen & Dongguan';
	shenzhenen[3]='400-8181-777';
	shenzhenen[4]='No. 3013 Shahe West Road, Nanshan District, Shenzhen';
	
function changecity(name)
{	
	
	var city;
	if(name=="上海站")
	{
		city=shanghai;

	}
	else if(name=="广州站")
	{
		city=guangzhou;
	}
	else if(name=="北京站")
	{
		city=beijing;
	}
	else if(name=="深圳站")
	{
		city=shenzhen;
	}else if(name=="武汉站")
	{
		city=wuhan;
	}else if(name=="苏州站")
	{
		city=suzhou;
	}else if(name=="合肥站")
	{
		city=hefei;
	}
	
	var cityname;

	if(name=="武汉站" || name=="苏州站" || name=="合肥站"){
		cityname = '憨豆鲜生';
		city[1]='weixin.jpg';
	}else{
		cityname = city[0];
	}
	$('#cityaddtitle').hide();
	document.getElementById("cityqrc").src="images/"+city[1];
	document.getElementById("cityqrct").innerHTML="关注"+cityname+"公众号";
	document.getElementById("cityname").innerHTML=city[0];
	document.getElementById("cityto").innerHTML=city[2];
	document.getElementById("citytel").innerHTML=city[3];

}

function changecityen(name)
{	
	var cityen;
	if(name=="shanghai")
	{
		cityen=shanghaien;
	}
	else if(name=="guangzhou")
	{
		cityen=guangzhouen;
	}
	else if(name=="beijing")
	{
		cityen=beijingen;
	}
	else if(name=="shenzhen")
	{
		cityen=shenzhenen;
	}
	
	document.getElementById("cityqrc").src="images/"+cityen[1];
	document.getElementById("cityqrct").innerHTML=cityen[0]+" QR Code";
	document.getElementById("cityname").innerHTML=cityen[0];
	document.getElementById("cityto").innerHTML=cityen[2];
	document.getElementById("citytel").innerHTML=cityen[3];
	document.getElementById("cityadd").innerHTML=cityen[4];

}